package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;
import java.util.Map;

public interface EmployeeService {

//登录
    ResultInfo login(String username, String password);
//根据name查询
    List<Employee> findByUsername(String name);

//新增员工
   void save(Employee employee);
//修改查询
    Employee findById(Long id);
//修改
    void update(Employee employee);
}
